package com.example.moudlec.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.moudlec.mapper.FileMannaGerMapper;
import com.example.moudlec.entity.FileManGer;
import com.example.moudlec.service.FileManGerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@SuppressWarnings("all")
public class FileManGerServiceImpl implements FileManGerService {
    @Autowired
    FileMannaGerMapper mapper;

    @Override
    public IPage<FileManGer> fileList(Long pageNum, Long pageSize) {
        Page<FileManGer> page = new Page<>(pageNum,pageSize);
        return  mapper.fileList(page);
    }
}
